package com.shenmazong.controller;

import com.shenmazong.service.TbKeywordService;
import com.shenmazong.utils.ResultResponse;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 * 关键词分类 ——> John 前端控制器
 * </p>
 *
 * @author 还怕大雨吗-
 * @since 2021-09-21
 */
@RestController
@RequestMapping("/tbKeyword")
public class TbKeywordController {

    @Resource
    private TbKeywordService tbKeywordService;

    /***
     * @description 查询全部分类--标签库
     * @params []
     * @return com.shenmazong.utils.ResultResponse
     * @author -还怕大雨吗
     * @date 2021/9/27 15:56
     */
    @PostMapping("/selectKeyWord")
    public ResultResponse selectKeyWord(){
        return tbKeywordService.selectKeyWord();
    }



}
